<?php

namespace App\Modules\CodeDesigner\FactoryMethodMode;

use App\Modules\CodeDesigner\FactoryMethodMode\factory\LeiFengClass;
use App\Modules\CodeDesigner\FactoryMethodMode\factory\Volunteer;

class VolunteerFactory implements FactoryInterface
{
    public function factory(): LeiFengClass
    {
        // TODO: Implement factory() method.
        return new Volunteer();
    }
}